<?php if ( ! defined('IN_DILICMS')) exit('No direct script access allowed');
$setting['models']['articles']=array (
  'id' => '2',
  'name' => 'articles',
  'description' => '文章管理',
  'perpage' => '20',
  'hasattach' => '1',
  'built_in' => '0',
  'thumb_preferences' => '{"enabled":[],"default":"original"}',
  'fields' => 
  array (
    1 => 
    array (
      'id' => '1',
      'name' => 'articles_title',
      'description' => '文章标题',
      'model' => '2',
      'type' => 'input',
      'length' => '0',
      'values' => '',
      'width' => '0',
      'height' => '0',
      'rules' => 'required',
      'ruledescription' => '',
      'searchable' => '1',
      'listable' => '1',
      'order' => '0',
      'editable' => '1',
    ),
    2 => 
    array (
      'id' => '2',
      'name' => 'category',
      'description' => '所属栏目',
      'model' => '2',
      'type' => 'select_from_model',
      'length' => '0',
      'values' => 'articles_category|category_name',
      'width' => '0',
      'height' => '0',
      'rules' => 'required',
      'ruledescription' => '',
      'searchable' => '1',
      'listable' => '1',
      'order' => '1',
      'editable' => '1',
    ),
    6 => 
    array (
      'id' => '6',
      'name' => 'articles_img',
      'description' => '焦点图',
      'model' => '2',
      'type' => 'mfile',
      'length' => '0',
      'values' => '',
      'width' => '0',
      'height' => '0',
      'rules' => '',
      'ruledescription' => '',
      'searchable' => '0',
      'listable' => '0',
      'order' => '3',
      'editable' => '1',
    ),
    8 => 
    array (
      'id' => '8',
      'name' => 'articles_summary',
      'description' => '文章简介',
      'model' => '2',
      'type' => 'textarea',
      'length' => '0',
      'values' => '',
      'width' => '0',
      'height' => '0',
      'rules' => 'required',
      'ruledescription' => '',
      'searchable' => '1',
      'listable' => '1',
      'order' => '4',
      'editable' => '1',
    ),
    4 => 
    array (
      'id' => '4',
      'name' => 'articles_contents',
      'description' => '内容',
      'model' => '2',
      'type' => 'wysiwyg',
      'length' => '0',
      'values' => '',
      'width' => '0',
      'height' => '0',
      'rules' => 'required',
      'ruledescription' => '',
      'searchable' => '0',
      'listable' => '0',
      'order' => '5',
      'editable' => '1',
    ),
    9 => 
    array (
      'id' => '9',
      'name' => 'articles_click',
      'description' => '点击次数',
      'model' => '2',
      'type' => 'int',
      'length' => '0',
      'values' => '',
      'width' => '0',
      'height' => '0',
      'rules' => '',
      'ruledescription' => '',
      'searchable' => '1',
      'listable' => '1',
      'order' => '6',
      'editable' => '1',
    ),
    5 => 
    array (
      'id' => '5',
      'name' => 'ontop',
      'description' => '排序',
      'model' => '2',
      'type' => 'int',
      'length' => '0',
      'values' => '0',
      'width' => '0',
      'height' => '0',
      'rules' => '',
      'ruledescription' => '',
      'searchable' => '0',
      'listable' => '0',
      'order' => '7',
      'editable' => '1',
    ),
  ),
  'listable' => 
  array (
    0 => '1',
    1 => '2',
    2 => '8',
    3 => '9',
  ),
  'searchable' => 
  array (
    0 => '1',
    1 => '2',
    2 => '8',
    3 => '9',
  ),
);